﻿using System.Collections.Generic;
using WWLauncher.ViewModel;

namespace WWLauncher.Model
{
    public class GradientBGParamListModel
    {
        //AppConfig Config = AppData.Instance().AppConfig;
        public GradientBGParamListModel()
        {
            GradientBGParams = new List<GradientBGParam>
            {
                new ("月白", "#f5f6fa", "#dcdde1","#000000"),
                new ("宝蓝", "#effafe", "#d0f0ff","#000000"),
                new ("延维", "#dff9fb", "#c7ecee","#000000"),
                new ("天水碧", "#fff1eb", "#ace0f9","#000000"),
                new ("碎冰", "#c6eae3", "#c6eae3","#000000"),
                new ("艾绿", "#7efff5", "#67e6dc","#000000"),
                new ("莔绿", "#2dde98", "#2dde98","#000000"),
                new ("萌黄", "#d4fc79", "#96e6a1","#000000"),
                new ("芽黄", "#ffcc2f", "#ffcc2f","#000000"),
                new ("蓝梦", "#c8dceb", "#c8dceb","#000000"),
                new ("窃蓝", "#a1c4fd", "#c2e9fb","#000000"),
                new ("若草", "#fbc2eb", "#a6c1ee","#000000"),
            };
            //var color1 = Config.ThemeConfig.GradientBgParam.Color1;
            //var color2 = Config.ThemeConfig.GradientBgParam.Color2;
            //for (var i = 0; i < GradientBGParams.Count; i++)
            //{
            //    if (GradientBGParams[i].Color1 == color1 && GradientBGParams[i].Color2 == color2)
            //    {
            //        SelectedIndex = i;
            //        break;
            //    }
            //}
        }

        public IList<GradientBGParam> GradientBGParams { get; set; }

        public string TextColor { get; set; }

    }
}
